Better `sort` ignored-return-value warning
authorMattias Engdegård <mattiase@acm.org>
Sun, 24 Mar 2024 17:18:41 +0000 (18:18 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 29 Mar 2024 10:39:38 +0000 (11:39 +0100)
commitb20866c4b3aa1446efda252bd5c3fa54f68c5d7f
treea04cac9fba44f1eb241c39075c99e32555c58987
parentcbd862865ff0a08d1214ac33590e7af80d10a0ac
Better `sort` ignored-return-value warning

* lisp/emacs-lisp/bytecomp.el (byte-compile-form)
(bytecomp--actually-important-return-value-p):
Special handling of `sort` that takes into account that it may return
an important value depending on the :in-place keyword argument.
lisp/emacs-lisp/bytecomp.el